package com.onedec.message.mapper;

import com.onedec.message.entity.OnedecMsgGroup;
import com.onedec.message.entity.OnedecMsgGroupExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecMsgGroupMapper {
    long countByExample(OnedecMsgGroupExample example);

    int deleteByExample(OnedecMsgGroupExample example);

    int deleteByPrimaryKey(Integer msgGroupId);

    int insert(OnedecMsgGroup record);

    int insertSelective(OnedecMsgGroup record);

    List<OnedecMsgGroup> selectByExample(OnedecMsgGroupExample example);

    OnedecMsgGroup selectByPrimaryKey(Integer msgGroupId);

    int updateByExampleSelective(@Param("record") OnedecMsgGroup record, @Param("example") OnedecMsgGroupExample example);

    int updateByExample(@Param("record") OnedecMsgGroup record, @Param("example") OnedecMsgGroupExample example);

    int updateByPrimaryKeySelective(OnedecMsgGroup record);

    int updateByPrimaryKey(OnedecMsgGroup record);

    List<OnedecMsgGroup> selectByEmp(Integer eId);
}